package com.shanks.home.module.anim;

import android.app.Activity;
import android.os.Bundle;

import com.shanks.home.R;
import com.shanks.home.anim.AutoScrollTextView;

public class TextRollActivity extends Activity {
	
	private AutoScrollTextView welcomeTV;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		this.setContentView(R.layout.activity_textroll);
		initView();
	}
	
	private void initView() {
		welcomeTV = (AutoScrollTextView)this.findViewById(R.id.animation_textroll_welcome_tv);
		
		welcomeTV.init(getWindowManager());
		welcomeTV.startScroll();
	}
}